package com.labbit.platform.manager.domain.bo;

import com.labbit.platform.commons.validator.ValidGroup;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @description:
 * @Author: CHEN YU
 * @Date: 2020-12-22 22:33
 **/
@Data
public class AdminUserBO {

    @NotEmpty(message = "id不能为空", groups = ValidGroup.Update.class)
    private String id;

    @NotEmpty(message = "用户名不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;

    @NotEmpty(message = "角色不能为空")
    private String roleId;

    @NotEmpty(message = "账户名称不能为空")
    private String accountName;

    private String accountId;

}
